package com.apes.scm.settle.settle.respository;

import com.apes.framework.jpa.repository.CustomRepository;
import com.apes.scm.settle.settle.model.SettleSimple;
import org.springframework.data.jpa.repository.Query;

import java.util.List;
import java.util.Map;

public interface SettleSimpleRepository extends CustomRepository<SettleSimple, String> {

    @Query(value = "SELECT * FROM acc_settle_simple a WHERE  a.id= :id",nativeQuery = true)
    List<Map> findByOne(String id);
}
